package com.concurrent;

import com.concurrent.schedule.SpringUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableAutoConfiguration
@EnableScheduling

public class SecondKillApplication {

	public static void main(String[] args) {
		ApplicationContext context =SpringApplication.run(SecondKillApplication.class, args);
		SpringUtils.setApplicationContext(context);
	}


}
